﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Proggy.Web.Cms.PropertyTypes;

namespace Proggy.Web.Cms.Core.Configuration.ConfigObjects
{
    /// <summary>
    /// Config object
    /// </summary>
    public class ContentPickerConfigObject : PropertyTypeConfigObjectBase
    {
        /// <summary>
        /// Min pages allowed
        /// </summary>
        public int? MinPages { get; set; }

        /// <summary>
        /// Max pages allowed
        /// </summary>
        public int? MaxPages { get; set; }

        /// <summary>
        /// Allowed content model type aliases
        /// </summary>
        public List<string> AllowedContentModelTypeAliases { get; set; }

        /// <summary>
        /// If true, allow unpublished content (default is false)
        /// </summary>
        public bool AllowUnPublishedContent { get; set; }
    }
}
